<?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $searchModel app\models\search\AsrFlowClassifySearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = '';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="asr-flow-classify-index">

    <p>
        <?= Html::a('新增流程分类', ['create'], ['class' => 'btn  btn-default btn-lg fa fa-plus']) ?>
    </p>
    <div class="box">
        <div class="box-header">
            <h3 class="box-title">流程分类列表</h3>
        </div>
        <!-- /.box-header -->
        <div class="box-body">
        <?= GridView::widget([
            'dataProvider' => $dataProvider,
            'filterModel' => $searchModel,
            'columns' => [
                ['class' => 'yii\grid\SerialColumn'],

                'flow_classify_id',
                'name',
                'parent_id',
                'audio_id',

                ['class' => 'yii\grid\ActionColumn'],
            ],
            'tableOptions'=>[
                'class'=>'table table-hover'
            ]
        ]); ?>
        </div>
    </div>
</div>
